package chixing.day08.homework;

public class MyCheckingAccount extends BankAccount{
    public MyCheckingAccount() {
    }
    public MyCheckingAccount(String accountNumber, double balance) {
        super(accountNumber, balance);
    }

    //MyCheckingAccount每月扣除 $10 手续费；
    @Override
    public void monthlyUpdate() {
        this.setBalance(this.getBalance() - 10);
    }
}
